package com.wisezone.grademanager;

public class SystemManager {
	/**
	 * 启动系统
	 */
	public void startSystemManager() {
		System.out.println("======= 欢迎进入班级管理系统！ ====== ");
		boolean isExit = true;
		while(isExit) {
			System.out.println("=====【班级管理系统主界面】=======");
			System.out.println("1 班级管理, 2 学生管理,  3 退出");
			int common = Utils.inputInt();
			switch(common) {
			case 1:
				GradeManager gradeManager = new GradeManager();
				gradeManager.startGradeManager();
				break;
			case 2:
				StudentManager studentManger = new StudentManager();
				studentManger.startStudentManager();
				break;
				
			case 3:
				System.out.println("====退出系统成功====");
				isExit = false;
				break;
			}
		}
	}
	public static void main(String[] args) {
		SystemManager systemManager = new SystemManager();
		systemManager.startSystemManager();
	}
}
